package com.anolesoft.yr.mbus.contm.service;

import java.util.List;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMainExample;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMain;
import com.anolesoft.yr.mbus.contm.entity.ContmStyleMain;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
public interface ContmBaseMainService extends IService<ContmBaseMain>{


    long countByExample(ContmBaseMainExample example);

    int deleteByExample(ContmBaseMainExample example);

    List<ContmBaseMain> selectByExample(ContmBaseMainExample example);

    int updateByExampleSelective(ContmBaseMain record,ContmBaseMainExample example);

    int updateByExample(ContmBaseMain record,ContmBaseMainExample example);

    int updateBatch(List<ContmBaseMain> list);

    int updateBatchSelective(List<ContmBaseMain> list);

    int batchInsert(List<ContmBaseMain> list);

    int insertOrUpdate(ContmBaseMain record);

    int insertOrUpdateSelective(ContmBaseMain record);

    List<ContmBaseMain> selectAll(Page<ContmBaseMain> page, LambdaQueryWrapper<ContmBaseMain> like);
}
